#ifndef ALFS_STDX_STATIC_ASSERT_HPP
#define ALFS_STDX_STATIC_ASSERT_HPP
#include    <alfs/config.hpp>

// File [alfs/stdx/static_assert.hpp].
//
// (c) copyright Alf P. Steinbach 2008.
// Use, modification and distribution are subject to the "New BSD License"
// as listed at <url: http://www.opensource.org/licenses/bsd-license.php>.
//
// Implements C++0x standard static_assert syntax.
//
// NOTE: Since this is a macro, commas in e.g. template parameter lists may be
// misinterpreted unless the first argument is enclosed in parentheses.

#include    <boost/static_assert.hpp>       // BOOST_STATIC_ASSERT

#if !ALFS_IS_CPP0X_OR_LATER
#   if !defined(BOOST_HAS_STATIC_ASSERT) && !defined(static_assert)
#       define  static_assert( e, s )   BOOST_STATIC_ASSERT( e )
#   endif
#endif

#endif
